﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hyjx.GF.Database
{
    /// <summary>
    /// 粉体报表实体
    /// </summary>
    [Table("PowderReports")]
    public class PowderReportEntity
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int SerialNumber { get; set; }
        /// <summary>
        /// 设备
        /// </summary>
        public string DeviceName { get; set; } = string.Empty;
        /// <summary>
        /// 粉体编码
        /// </summary>
        public int MaterialCode { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set;}
        /// <summary>
        /// 设定值
        /// </summary>
        public decimal? SettingValue { get; set; }
        /// <summary>
        /// 实际值
        /// </summary>
        public decimal? ActualValue { get; set;}
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

    }
}
